<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    div{

      height: 150px;
      background-color: red;
      display: flex;
      justify-content: space-around;
      align-items: center;

    }
    span{
      background-color: gray;
      width: 100px;
      height: 100px;
    }


  </style>

</head>
<body>
<div>
  <span>1</span>
  <span>2</span>
  <span>3</span>

</div>
</body>
</html>